package cst.a728hyl.startproject_728hyl.service;

import cst.a728hyl.startproject_728hyl.bean.WeatherResult;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;


/**
 * Created by HP on 2017/5/3.
 */

public interface WeatherService {
    @GET("data/sk/{citynum}.html")
    public Call<WeatherResult> getWeather(@Path("citynum")String citynum);
    @GET("data/sk/city.html")
    public Call<WeatherResult> getWeather2(@Query("citynum")String citynum);
}
